package com.prs.crm.service.purchase.impl;

import java.io.Serializable;

import com.prs.crm.dao.purchase.InquiryDao;
import com.prs.crm.domain.purchase.Inquiry;
import com.prs.crm.domain.stock.Product;
import com.prs.crm.domain.store.StoreIn;
import com.prs.crm.service.impl.FlowServiceImpl;
import com.prs.crm.service.purchase.InquiryService;



public class InquiryServiceImpl extends FlowServiceImpl<Inquiry, InquiryDao> implements InquiryService{

	@Override
	public void batchSave(Integer[] supplierIds, Double[] price,
			Double[] discount, Double[] totalPrice, Product product) {
	}

	@Override
	public boolean valideSubmit(Inquiry entity) {
		
		return true;
	}

	@Override
	public Inquiry getInquiry(Serializable id) {
		
		return this.getDao().getInquiry(id);
	}

	@Override
	public void saveOrUpdate(Inquiry inquiry) {
		this.getDao().SaveOrUpdate(inquiry);
	}
	
}
